<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page import="com.hitrust.gs.business.GSOrderProcessor"%>
<%@ page import="com.hitrust.gs.bean.GSOperatorBean"%>

<%@ include file="../../common.jsp" %>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language="JavaScript" src="<%=root%>/js/string.js"></SCRIPT>

<%
			response.setHeader("Pragma", "No-cache");
			response.setHeader("Cache-Control", "no-cache,no-store,max-age=0");
			response.setDateHeader("Expires", 0);
	
	GSOperatorBean tGSOperatorBean = (GSOperatorBean)session.getAttribute(GSBaseConstants.LOGIN);

	GSOrderProcessor processor = new GSOrderProcessor();
	String orderId = processor.createOrderId(tGSOperatorBean.getGs_oper_org_id());
	System.out.println("AAA"+orderId);
	//String orderId= "jennyislyy";
%>
<script language='javascript'>

	var orderid = parent.document.getElementById("orderid");
	orderid.value = '<%=orderId%>';
	
	parent.document.getElementById("createorderid").style.display='none';
	parent.document.getElementById("submitform").style.display='';
	parent.document.all.aaa.style.display='';
	parent.document.all.bbb.style.display='';
</script>
<%
	
%>